Skip to content

fix(miner): apply isValidRepoSegment to four normalizeRepoFullName parsers (#7795) - #7882

Closed
RealDiligent wants to merge 1 commit into
JSONbored:mainfrom
RealDiligent:fix/normalize-repo-path-safety-7795
Closed

fix(miner): apply isValidRepoSegment to four normalizeRepoFullName parsers (#7795)#7882
RealDiligent wants to merge 1 commit into
JSONbored:mainfrom
RealDiligent:fix/normalize-repo-path-safety-7795

Conversation

@RealDiligent

Copy link
Copy Markdown
Contributor

Summary

Test plan

Fixes #7795

Made with Cursor

@RealDiligent
RealDiligent requested a review from JSONbored as a code owner July 21, 2026 15:54
@superagent-security

Copy link
Copy Markdown
Contributor

Superagent didn't find any vulnerabilities or security issues in this PR.

1 similar comment
@superagent-security

Copy link
Copy Markdown
Contributor

Superagent didn't find any vulnerabilities or security issues in this PR.

…rsers (JSONbored#7795)

Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.72%. Comparing base (283fb8f) to head (66526cf).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
...s/loopover-miner/lib/contribution-profile-cache.ts 0.00% 2 Missing ⚠️
packages/loopover-miner/lib/prediction-ledger.ts 0.00% 1 Missing ⚠️
packages/loopover-miner/lib/replay-snapshot.ts 0.00% 1 Missing ⚠️
packages/loopover-miner/lib/run-state.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7882      +/-   ##
==========================================
- Coverage   91.40%   87.72%   -3.68%     
==========================================
  Files         730       92     -638     
  Lines       74763    21487   -53276     
  Branches    22815     3733   -19082     
==========================================
- Hits        68335    18849   -49486     
+ Misses       5385     2460    -2925     
+ Partials     1043      178     -865     
Flag Coverage Δ
shard-1 0.00% <0.00%> (-58.57%) ⬇️
shard-2 0.00% <0.00%> (-51.85%) ⬇️
shard-3 0.00% <0.00%> (-50.22%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
packages/loopover-miner/lib/prediction-ledger.ts 0.00% <0.00%> (-80.60%) ⬇️
packages/loopover-miner/lib/replay-snapshot.ts 0.00% <0.00%> (-100.00%) ⬇️
packages/loopover-miner/lib/run-state.ts 0.00% <0.00%> (-100.00%) ⬇️
...s/loopover-miner/lib/contribution-profile-cache.ts 0.00% <0.00%> (-100.00%) ⬇️

... and 638 files with indirect coverage changes

@loopover-orb loopover-orb Bot added the gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier. label Jul 21, 2026
@loopover-orb

loopover-orb Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Important

🟪🟪🟪🟪🟪🟪🟪🟪🟪🟪🟪🟪

🔍 LoopOver is reviewing…

AI analysis is in progress. This comment will update when the review is complete.

🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed · 🟪 Reviewing

@RealDiligent

Copy link
Copy Markdown
Contributor Author

Closing in favor of a different approach: after #7705, miner-lib-only PRs report 0% patch coverage (vitest records hits under the .js specifier while the diff is .ts-only). Will not push follow-ups on this PR.

@RealDiligent

Copy link
Copy Markdown
Contributor Author

Superseded: miner-lib .ts-only diff cannot satisfy codecov/patch after #7705 (confirmed 0% on validate-tests-merge). Not amending — pivoting to a src/engine-safe issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 sibling normalizeRepoFullName parsers still skip the path-safety guard #5831/#7525 already added to every other sibling

1 participant